//
//  TTRecyclingCellModel.h
//  TaoTuo
//
//  Created by apple on 2020/9/18.
//  Copyright © 2020 刘广. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger {
    arrowTpey,
    labelType,
} RecycleCellModelType;

NS_ASSUME_NONNULL_BEGIN

@interface TTRecyclingCellModel : NSObject

@property (nonatomic, copy)  NSString *title;
@property (nonatomic, copy)  NSString *content;
@property (nonatomic, copy)  NSString *placeholder;
@property (nonatomic, copy)  NSString *rightString;
@property (nonatomic, assign) RecycleCellModelType cellType;
@property (nonatomic, assign) UIKeyboardType keyboardType;
@property (nonatomic, nullable, strong) id target;
@property (nonatomic, nullable, assign) SEL action;

+ (instancetype)setupModelWithTitle:(NSString *)title content:(NSString *)content placeholder:(NSString *)placeholder rightString:(NSString *)rightString cellType:(RecycleCellModelType)cellType target:(nullable id)target action:(nullable SEL)action;

+ (instancetype)setupModelWithTitle:(NSString *)title content:(NSString *)content placeholder:(NSString *)placeholder rightString:(NSString *)rightString cellType:(RecycleCellModelType)cellType keyboardType:(UIKeyboardType)keyboardType target:(nullable id)target action:(nullable SEL)action;

@end

NS_ASSUME_NONNULL_END
